home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 28
/
Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso
/
Aminet
/
game
/
patch
/
KVKElfmania.lha
/
ElfMania
/
Install-Elfmania
< prev
next >
Wrap
Text File
|
1998-09-04
|
2KB
|
71 lines
(set #CI_UNIT 0)
(set #CI_DRIVE ("DF%ld:" #CI_UNIT))
;----------------------------
;try to figure out a place where the user usually installs his games
(if (exists "Games:" (noreq) )
(set @default-dest "Games:")
(if (exists "SYS:Games" (noreq) )
(set @default-dest "SYS:Games")
(if (exists "Work:Games" (noreq) )
(set @default-dest "Work:Games")
(if (exists "JEUX:" (noreq) )
(set @default-dest "JEUX:")
(set @default-dest "SYS:")
)
)
)
)
(set @default-dest
(askdir
(prompt ("Where should %s installed ?\nA drawer \"%s\" will automatically created." @app-name @app-name))
(help @askdir-help)
(default @default-dest)
(disk)
)
)
(set #dest (tackon @default-dest @app-name))
(makedir #dest
(help @makedir-help)
(infos)
)
;----------------------------
(copyfiles
(help @copyfiles-help)
(source "ElfmaniaHD")
(dest #dest)
(infos)
)
(copyfiles
(help @copyfiles-help)
(source "ElfmaniaHD.readme")
(dest #dest)
(infos)
)
(message ("\nInsert Elfmania disk 1 into drive %ld !" #CI_UNIT))
(if
(= 0 (run ("DiskRipper -e Ripper %s \"%s/Elfmania.d1\" >CON:///1000//CLOSE/WAIT" #CI_DRIVE #dest)))
("")
(abort "\"DiskRipper\" must be in your PATH !")
)
(message ("\nInsert Elfmania disk 2 into drive %ld !" #CI_UNIT))
(if
(= 0 (run ("DiskRipper -n 2 -e Ripper %s \"%s/Elfmania.d2\" >CON:///1000//CLOSE/WAIT" #CI_DRIVE #dest)))
("")
(abort "\"DiskRipper\" must be in your PATH !")
)
(exit)